package com.example.service.impl;

import com.example.mapper.ResourceMapper;
import com.example.pojo.Resource;
import com.example.service.ResourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ResourceServiceImpl implements ResourceService {
    @Autowired
    private ResourceMapper resourceMapper;
    @Override
    public List<Resource> getAll() {
        return resourceMapper.getAll();
    }

    @Override
    public List<Resource> getAlls() {
        return resourceMapper.getAlls();
    }

    @Override
    public List<Resource> getAllss() {
        return resourceMapper.getAllss();
    }
}
